<?php
/**
 * Create By: PhpStorm
 * User: niechenguang
 * File: Signin.php
 * Date: 2017/1/2
 * Time: 21:45
 */

namespace app\api\controller;

use app\api\model\page\community\SigninIndex;
use think\Request;

class Signin
{

    protected $param;
    protected $signinIndexModel;

    public function __construct()
    {
        $this->param = Request::instance()->param();
        $this->signinIndexModel = new SigninIndex();
    }

    /**
     * 签到首页
     *
     * @return array
     */
    public function signinIndex()
    {
        return $this->signinIndexModel->excute($this->param);
    }
}
